package com.moneywelcome.orderfacade.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 赎回记录表
 * </p>
 *
 * @author alice
 * @since 2022-01-06
 */
@Data

public class RedeemRecordVo implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 用户id
     */
    @NotNull
    private Integer userId;

    /**
     * 用户昵称
     */
    @NotNull
    private String nickName;

    /**
     * 赎回交易编号
     */
    @NotNull
    private String redeemSerial;

    /**
     * 黄金id
     */

    @NotNull
    /**
     * 持仓id
     */
    private Long financialId;
    /**
     * 赎回费率
     */
    @NotNull
    private Double redeemRate;
    /**
     * 赎回份额
     */
    @NotNull
    private Double redeemShares;
    /**
     * 收款账号
     */
    @NotNull
    private Long redeemAccount;
}
